import React from 'react';
import ReactDOM from 'react-dom';

import styles from './assets/css/style.css'

// 创建虚拟DOM
const h1=React.createElement('h1',{title:'你好react'},"hello world!!!!");

const div=React.createElement('div',{className:styles.container},h1);

ReactDOM.render(div,document.querySelector('#app'));